package com.xhsj.user.pms.patent.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhsj.user.pms.patent.domain.JudgesUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;
import java.util.Set;

@Mapper
public interface JudgesUserMapper extends BaseMapper<JudgesUser> {
    //获取评审会人数
    Set<String> getJudgesUser(@Param("judgesId") String judgesId);

    //获取评审会成员
    List<Long> getJudgesUserId(@Param("disclosureId") String disclosureId);

    void deleteByJudgesId(@Param("id") String id);

    List<Map<Long,Long>> getJudgesUserById(@Param("judgesId") String judgesId);
}